package com.literaryfamily.literaryfamily.entity;

import java.math.BigDecimal;
import java.util.Date;

public class BookBorrowOnline {
    private Long id;

    private String onlineId;

    private String bookId;

    private Long userId;

    private Date onlineTime;

    private String onlineDescription;

    private String imageUrlId;

    private String handoverAddress;

    private Integer borrowDays;

    private Double fee;

    private String damageDescription;

    private BigDecimal damageFee;

    private BigDecimal overdueFeePerDay;

    private Integer status;

    private Integer reservationCount;

    private Integer totalReservationDays;

    private Date reservationEndTime;

    private Date offlineTime;

    private String remark;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getOnlineId() {
        return onlineId;
    }

    public void setOnlineId(String onlineId) {
        this.onlineId = onlineId == null ? null : onlineId.trim();
    }

    public String getBookId() {
        return bookId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId == null ? null : bookId.trim();
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Date getOnlineTime() {
        return onlineTime;
    }

    public void setOnlineTime(Date onlineTime) {
        this.onlineTime = onlineTime;
    }

    public String getOnlineDescription() {
        return onlineDescription;
    }

    public void setOnlineDescription(String onlineDescription) {
        this.onlineDescription = onlineDescription == null ? null : onlineDescription.trim();
    }

    public String getImageUrlId() {
        return imageUrlId;
    }

    public void setImageUrlId(String imageUrlId) {
        this.imageUrlId = imageUrlId == null ? null : imageUrlId.trim();
    }

    public String getHandoverAddress() {
        return handoverAddress;
    }

    public void setHandoverAddress(String handoverAddress) {
        this.handoverAddress = handoverAddress == null ? null : handoverAddress.trim();
    }

    public Integer getBorrowDays() {
        return borrowDays;
    }

    public void setBorrowDays(Integer borrowDays) {
        this.borrowDays = borrowDays;
    }

    public Double getFee() {
        return fee;
    }

    public void setFee(Double fee) {
        this.fee = fee;
    }

    public String getDamageDescription() {
        return damageDescription;
    }

    public void setDamageDescription(String damageDescription) {
        this.damageDescription = damageDescription == null ? null : damageDescription.trim();
    }

    public BigDecimal getDamageFee() {
        return damageFee;
    }

    public void setDamageFee(BigDecimal damageFee) {
        this.damageFee = damageFee;
    }

    public BigDecimal getOverdueFeePerDay() {
        return overdueFeePerDay;
    }

    public void setOverdueFeePerDay(BigDecimal overdueFeePerDay) {
        this.overdueFeePerDay = overdueFeePerDay;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getReservationCount() {
        return reservationCount;
    }

    public void setReservationCount(Integer reservationCount) {
        this.reservationCount = reservationCount;
    }

    public Integer getTotalReservationDays() {
        return totalReservationDays;
    }

    public void setTotalReservationDays(Integer totalReservationDays) {
        this.totalReservationDays = totalReservationDays;
    }

    public Date getReservationEndTime() {
        return reservationEndTime;
    }

    public void setReservationEndTime(Date reservationEndTime) {
        this.reservationEndTime = reservationEndTime;
    }

    public Date getOfflineTime() {
        return offlineTime;
    }

    public void setOfflineTime(Date offlineTime) {
        this.offlineTime = offlineTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }
}